import request from '@/api/request.js'

// 上传图片
export function uploadImage(formData) {
    return request.post('/upload/image', formData, {
        headers: {
            'Content-Type': 'multipart/form-data',
        },
    })
}

// 上传视频
export function uploadVideo(data) {
    return request.post('/upload/video', data)
}
